package com.mt.roll.wms.params;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @Desc: ""
 * @Author: caixiang
 * @DATE: 2021/7/19 20:18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value = "配方激活发送", description = "配方激活发送")
public class RecipeActiveSend {
    /**
     * 名称
     */
    @ApiModelProperty(value = "配方name", required = true ,example = "PID10.2recipe3")
    @NotBlank(message = "配方name 不能为空")
    private String recipeName;

    @ApiModelProperty(value = "设备name", required = true ,example = "PID10.2")
    @NotBlank(message = "设备name 不能为空")
    private String equipmentName;

    /**
     * 0 未激活；1 已激活
     */
    @ApiModelProperty(value = "激活状态:0 、停用，1、启用 ",example = "1")
    @NotNull(message = "激活状态 不能为空")
    private Integer activationState;
}
